﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;

using QLTTAN.DAL;
using QLTTAN.DTO;
namespace QLTTAN.BLL
{
    public class PhongHocBLL
    {
        PhongHocDAL PH_DAL;

        public PhongHocBLL()
        {
            PH_DAL = new PhongHocDAL();
        }

        public DataTable PhongHoc_Load()
        {
            return PH_DAL.PhongHoc_Load();
        }

        public int PhongHoc_Insert(PhongHocDTO PH_DTO)
        {
            return PH_DAL.PhongHoc_Insert(PH_DTO);
        }

        public int PhongHoc_Update(PhongHocDTO PH_DTO)
        {
            return PH_DAL.PhongHoc_Update(PH_DTO);
        }

        public int PhongHoc_Delete(PhongHocDTO PH_DTO)
        {
            return PH_DAL.PhongHoc_Delete(PH_DTO);
        }
    }
}
